//
//  RowBaseShowM.m
//  
//  jhf
//
//  Created by Mac on 2020/9/7.
//

#import "RowBaseShowM.h"

@implementation RowBaseShowM

- (NSString *)keyValue {
    if (_keyValue && _keyValue.length > 0) {
        return _keyValue;
    }
    if (_value && _value.length > 0) {
        return _value;
    }
    return _value;
}


- (void)setMethodFromKey:(BOOL)methodFromKey {
    _methodFromKey = methodFromKey;
    if (methodFromKey && self.dataKey) {
        self.method = self.dataKey;
    }
}

@end
